type go.opentelemetry.io/otel/trace.noopSpan
16 uses
go.opentelemetry.io/otel/trace (current package)
context.go#L50: return noopSpan{}
context.go#L55: return noopSpan{}
nonrecording.go#L21: noopSpan
noop.go#L55: span = noopSpan{}
noop.go#L61: type noopSpan struct{ embedded.Span }
noop.go#L63: var _ Span = noopSpan{}
noop.go#L66: func (noopSpan) SpanContext() SpanContext { return SpanContext{} }
noop.go#L69: func (noopSpan) IsRecording() bool { return false }
noop.go#L72: func (noopSpan) SetStatus(codes.Code, string) {}
noop.go#L75: func (noopSpan) SetError(bool) {}
noop.go#L78: func (noopSpan) SetAttributes(...attribute.KeyValue) {}
noop.go#L81: func (noopSpan) End(...SpanEndOption) {}
noop.go#L84: func (noopSpan) RecordError(error, ...EventOption) {}
noop.go#L87: func (noopSpan) AddEvent(string, ...EventOption) {}
noop.go#L90: func (noopSpan) SetName(string) {}
noop.go#L93: func (noopSpan) TracerProvider() TracerProvider { return noopTracerProvider{} }
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |